package com.leigang.resource.feign;

import com.leigang.common.parent.pojo.dto.ServerMonitorDto;
import com.leigang.common.parent.pojo.vo.ResponseVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(name = "TECHNOLOGY-MONITOR")
public interface MonitorService {
    /**
     * 保存服务器监控信息
     * @param serverMonitorDto serverMonitorDto
     * @return 是否新增成功
     */
    @PostMapping(value = "/monitor/server-monitor/add")
    ResponseVo<Boolean> add(ServerMonitorDto serverMonitorDto);
}
